package lab02.test29;

public class Test29 {
    public static void main(String[] args) {
        int[] numbers=new int[5];
        numbers[0]=3;
        numbers[1]=78;
        numbers[2]=39;
        numbers[3]=90;
        numbers[4]=487;

         try{
             System.out.println(numbers[5]);
         }catch(ArrayIndexOutOfBoundsException e){
             System.out.println("数组越界了");
         }finally{
             System.out.println("最后都会执行的语句");
         }

    }
}
